//
//  onedeleCell.m
//  UI_xiangmu
//
//  Created by dllo on 15/4/25.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "onedeleCell.h"

@implementation onedeleCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.myimage = [[UIImageView alloc] init];
        self.myLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.myimage];
        [self.contentView addSubview:self.myLabel];
        self.myLabel.backgroundColor = [UIColor yellowColor];
        [_myimage release];
        [_myLabel release];
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    self.myimage.frame = CGRectMake(0, 0, 375, 80);
    self.myLabel.frame = CGRectMake(0, 80, 375, 20);
    
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
